package cn.scau.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ProcessNode对象", description="")
public class ProcessNode implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String nodeName;

    private Integer nodePriority;

    private Boolean isWithDept;

    private Integer deptPriority;

    private Integer flowId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public Integer getNodePriority() {
        return nodePriority;
    }

    public void setNodePriority(Integer nodePriority) {
        this.nodePriority = nodePriority;
    }

    public Boolean getIsWithDept() {
        return isWithDept;
    }

    public void setIsWithDept(Boolean withDept) {
        isWithDept = withDept;
    }

    public Integer getDeptPriority() {
        return deptPriority;
    }

    public void setDeptPriority(Integer deptPriority) {
        this.deptPriority = deptPriority;
    }

    public Integer getFlowId() {
        return flowId;
    }

    public void setFlowId(Integer flowId) {
        this.flowId = flowId;
    }
}
